

project(uam)
find_package(Qt5 COMPONENTS Core)

file(GLOB_RECURSE SRCS CONFIGURE_DEPENDS ./*.cpp)
source_group_by_dir(SRCS)

add_library(${PROJECT_NAME} SHARED
     ${SRCS}
)

if (WINDOWS)
    add_compile_options(/wd4251)
    target_compile_options(${PROJECT_NAME} PRIVATE -DS_UAM_DLL)
endif()
target_link_libraries(${PROJECT_NAME} Qt::Core core qbkernel qbprotocol qbtools)

